package cn.b.sky.mes.hr.service;

import cn.b.sky.mes.hr.model.condition.PerformanceCondition;

public interface WorkCenterPerformanceService {

  /**
   * 
   * <strong>Title : personnelInOutRatioSomeDay<br></strong>
   * <strong>Description : </strong>某员工某天的投入产出比<br> 
   * <strong>Create on : 2016-4-1 上午10:44:34<br></strong>
   * <p>
   * @param siteCode
   * @param workCenterCode
   * @param personnelCode
   * @param date       生产绩效日期
   * @return
   * Double 
   * @throws 
   * @author ZiQiang.Zhao<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  Double personnelInOutRatioSomeDay(String siteCode, String workCenterCode, String personnelCode, String date,
      String materialCode);

  /**
   * 
   * <strong>Title : workCenterInOutRatioSomeDay<br></strong>
   * <strong>Description : </strong>某工作中心某天的投入产出比<br> 
   * <strong>Create on : 2016-4-1 上午10:46:38<br></strong>
   * <p>
   * @param siteCode
   * @param workCenterCode
   * @param date
   * @return
   * Double
   * @throws 
   * @author ZiQiang.Zhao<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  Double workCenterInOutRatioSomeDay(String siteCode, String workCenterCode, String date, String materialCode);

  /**
   * 
   * <strong>Title : initDateAndWorkCenterCode<br></strong>
   * <strong>Description : </strong>初始化默认开始结束时间及工作中心<br> 
   * <strong>Create on : 2016-4-5 下午4:09:35<br></strong>
   * <p>
   * @param condition
   * @return
   * PerformanceCondition
   * @throws 
   * @author ZiQiang.Zhao<br>
   * @version <strong>v1.0.0</strong><br>
   * <br>
   * <strong>修改历史:</strong><br>
   * 修改人 | 修改日期 | 修改描述<br>
   * -------------------------------------------<br>
   * <br>
   * <br>
   */
  PerformanceCondition initDateAndWorkCenterCode(PerformanceCondition condition);
}
